unit frmSetor;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, Mask, DBCtrls, ExtCtrls, Grids, DBGrids;

type
  TFormSetor = class(TForm)
    DBGrid1: TDBGrid;
    DBNavigator1: TDBNavigator;
    lbSetor: TLabel;
    dbSetor: TDBEdit;
    Label1: TLabel;
    dbSigla: TDBEdit;
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FormSetor: TFormSetor;

implementation

uses UDMCadastro;

{$R *.dfm}

procedure TFormSetor.FormCreate(Sender: TObject);
begin
   DMCadastro.QuerySetor.Active:=true;
end;

end.
